cmake_minimum_required(VERSION 3.24)

project(OpencvTest)

set(CMAKE_CXX_STANDARD 17)

set(OpenCV_DIR D:/Tool/opencv/build/x64/vc15/lib)
include_directories(D:/Tool/opencv/build/include/opencv2)

find_package(OpenCV REQUIRED)
set(BIN_DIR ${PROJECT_SOURCE_DIR}/bin)
set(EXECUTABLE_OUTPUT_PATH ${BIN_DIR})
add_executable(OpencvTest main.cpp)
target_link_libraries(OpencvTest ${OpenCV_LIBS})
